package org.lboot.idmo.module.role.params;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@ApiModel(value = "批量授权")
public class BatchGrantParams {
    @NotNull(message = "角色ID不可为空")
    Long roleId;

    @NotEmpty(message = "用户列表不可为空")
    List<Long> userIds;
}
